package xkp.lesson3;

public class Demo1 {
	public static void main(String[] args) {
		//Integer num1 = Integer.valueOf(100);
		Integer num1 = 100; 
		Integer num3 = new Integer(100);
		System.out.println(num1 == num3);
		//Integer num2 = Integer.valueOf(num1.intValue() + 100);
		Integer num2 = num1+100;//经历过几次装箱，几次拆箱
		//经历一次拆箱一次装箱
		System.out.println(Integer.toString(100, 7));
		//202  = 2*1+0*7+2*7*7 = 2+0+98 = 100
	}
}
